
module.exports = {
    outputDir: 'dist',
    publicPath: process.env.NODE_ENV === 'development'?'/':'/',
    assetsDir: 'static',
    productionSourceMap: false,
    lintOnSave: false,
    devServer: {
        port: 8086, // 端口号2
        //public: "192.168.3.133:8086", // 此处是自己电脑IP地址！
        host: 'localhost',
        https: false, // https:{type:Boolean}
        open: true, //配置自动启动浏览器
      //   proxy: {
      //       '/api': {
              //   target: 'https://lanyingtest.blue-imaging.com/index.php?s=',
      //           target: 'http://192.168.3.148:8080/',
      //           changeOrigin: true,
      //           pathRewrite: {
      //               '/': ''
      //           }
      //       }
      //   }
    }
  };
  